package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Likes;

import java.util.List;

public interface ILikesService {
    //在登录状态下,根据当前用户id查询是否有当前文章的点赞的信息
   Likes  selectLikesByUserId(Long userId,Long contentId);

   void save(Long userId, Long contentId);
   void  delete(Long userId,Long contentId);
    List<Likes> selectLikesByUserId(Long id);

    Integer selectUnRead(Long id);

    void changeState(Long travelId);
}
